package com.hinnotek.warehouse.bean

import androidx.annotation.DrawableRes
import com.hinnotek.warehouse.R

data class MenuBean(@DrawableRes val icon: Int, val title: String) {
    companion object {
        @JvmStatic
        fun getData(): ArrayList<MenuBean> {
            val list = ArrayList<MenuBean>()
            list.add(MenuBean(R.drawable.ic_quanbudingdan, "盘库管理"))
            list.add(MenuBean(R.drawable.ic_yiwancheng, "台账汇总"))
            list.add(MenuBean(R.drawable.ic_yijinchang, "仓管入库"))
            list.add(MenuBean(R.drawable.ic_daizhifu, "报损"))
            list.add(MenuBean(R.drawable.ic_renwu, "设备使用情况"))
            list.add(MenuBean(R.drawable.ic_yichuchang, "借用"))
            list.add(MenuBean(R.drawable.ic_huokuanfapiao, "供应商"))
            list.add(MenuBean(R.drawable.ic_quanbupaiche, "出库"))
            list.add(MenuBean(R.drawable.ic_tianjia_3, "预出库"))
            return list
        }

        @JvmStatic
        fun getData2(): ArrayList<MenuBean> {
            val list = ArrayList<MenuBean>()
            list.add(MenuBean(R.drawable.ic_home_warehouse, "仓库管理"))
            list.add(MenuBean(R.drawable.ic_home_materiel, "料号信息"))
            list.add(MenuBean(R.drawable.ic_home_menu3, "技术管理"))
            list.add(MenuBean(R.drawable.ic_home_menu4, "销售管理"))
            list.add(MenuBean(R.drawable.ic_home_menu5, "质检管理"))
            list.add(MenuBean(R.drawable.ic_home_menu6, "采购管理"))
            return list
        }
    }


}

